$stat = wave.rtrim ("<Source Filename>", [Millisec], "[Destination Filename]")
Online IVR Tutorial


Parameters Return Value Remark Example
  1. $stat = wave.rtrim ("bgplay.wav", 1000, "out.wav")
  • The source wavefile is trimed 1000 millisec from the right end and wrote to destination file.
    On successful excecution of the function $stat returns the value 1.